package com.supermap.dataHandling.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import org.springframework.web.servlet.ModelAndView;

/**
 * Created by bruce on 18/9/4 -- 15:27
 */
@RestController
@RequestMapping("/index")
public class IndexController {
    @GetMapping("/home")
    public ModelAndView index(ModelAndView mv) {
        mv.setViewName("/home");
        return mv;
    }

}
